Public

Name

Divi Hamburger Menu Everywhere

About

Make Divi Hamburger menu the default and add the word Menu to it Note: This works only with the Divi theme

Language

CSS

Rating

Voted: 1 by 1 user(s)

How to Setup Snippet

Just add this css to make the Divi mobile hamburger menu default on all devices as well as show the word menu next to it

Codevault

George Snippet Library

Scroll down to see more snippets from this codevault.

Wordpress Compatability

The author has indicated that this snippet is compatable up to wordpress version: Not Specified

Code Snippet Plugin Sync

Free & Pro

Download this snippet by clicking the download button, then head over to the Code Snippet Plugin settings in your wordpress admin dashboard, select the import menu then upload this file to import into your wordpress site.

Pro Only (Coming Soon)

You will be able to click a button and sync this snippet to your wordpress site automatically and from your dashboard manage all code snippets across all your wordpress sites that have the Code Snippets Pro plugin installed.

History

Last modified:

19/09/2023

Important Note

This snippet has the following status:

Public

This snippet has passed basic review, use with caution and at your own risk. See details provided by author in sidebar and click below to find out more.

Divi Hamburger Menu Everywhere

 
                    
1/*make humburger default*/
2@media (max-width: 3000px){
3#et_mobile_nav_menu {
4display: block;
5}
6#top-menu {
7display: none;
8}
9}
10 
11/*now we want the word menu shown with the hamburgwr menu*/
12.mobile_menu_bar:before {
13background-color: #3e4555;
14padding: 2px 0px 2px 2px;
15top: 9px;
16color: #fff!important;}
17.mobile_menu_bar::after {
18font-family: Arial;
19content: "MENU";
20position: relative;
21padding: 10px 20px 10px 5px;
22background-color: #3e4555;
23color: #FFFFFF!important;
24cursor: pointer;}
25.mobile_nav.opened .mobile_menu_bar:before {
26content: "\4d";}
27#main-header{padding-bottom:18px;}
28@media only screen and (max-width: 980px){
29.et_header_style_centered #main-header .mobile_nav {
30display: block;
31padding: 5px 10px;
32border-radius: 5px;
33background-color: #fff;
34text-align: left;
35}
36}

1

Related Snippets

Please see some snippets below related to this snippet..

Styling

AI Verified

0

Custom Login Logo

Added: 1 year ago

Last Updated: 1 year ago

This snippet allows you to replace the default WordPress login logo with your own custom logo.

Styling

Public

0

3-D Text with Glow

Added: 2 years ago

Last Updated: 1 year ago

CSS to give a 3-D effect to text/headers (all CSS is included, because we hand-wrote it in Codepen. Omit font styling as appropriate. ..

Styling

Unverified

0

ROTHKO PAINTING - STYLES.CSS

Added: 5 months ago

Last Updated: 5 months ago

ROTHKO PAINTING STYLES.CSS CODE.

Other Snippets in this Codevault

These are some popular snippets from this users codevault..

WooCommerce

AI Verified

6

Delete Woocommerce images after deleting product

Added: 2 years ago

Last Updated: 1 week ago

Automatically Delete WooCommerce Images After Deleting a Product. If you use the same image of multiple products the image will not be deleted for those

WooCommerce

AI Verified

2

Add Alphabetical Sorting to Woocommerce

Added: 2 years ago

Last Updated: 2 months ago

Sorts products alphabetically in Woocommerce

WooCommerce

AI Verified

1

Remove categories from the shop and other pages in Woocommerce

Added: 1 year ago

Last Updated: 1 year ago

Remove any categories from WooCommerce frontend